a = -2 (slider from -10 to 10, step 0.1)
f(x) = x^(3) + (5 * x^(2)) + (4 * x) + 6
g(x) = (((3 * a^(2)) + (10 * a) + 4) * (x - a)) + f(a)
h(x) = x^(2)
p(x) = ((2 * a) * (x - a)) + h(a)